package xml;
import java.util.*;


public class TagXML {
	
	public TagXML father=null;
	public ArrayList<TagXML> taguri =new ArrayList<TagXML>();
	public ArrayList<Atribute> atribute=new ArrayList<Atribute>();
	public String name=null;
	public String value=null;
	
	public AddAttribute atribAdder=new AddAttribute();
	public DeleteAttribute atribDeleter=new DeleteAttribute();
	
	public AddTag tagAdder=new AddTag();
	public DeleteTag tagDelete=new DeleteTag();
	
	
	public void setName(String name) {
		this.name = name;
	}
	
	public ArrayList<TagXML> getTaguri() {
		return taguri;
	}
	
	public ArrayList<Atribute> getAtribute() {
		return atribute;
	}
	
	public String getValue() {
		return value;
	}
	
	public void setValue(String value) {
		this.value = value;
	}
	
	public TagXML() {
		// TODO Auto-generated constructor stub
	}
	
	public TagXML(TagXML Father){
		this.father=Father;
	}
	
	public TagXML(TagXML father,String name,String value){
		this.father=father;
		this.name=name;
		this.value=value;
	}

	public TagXML(TagXML father, String name) {
		this.father = father;
		this.name = name;
	}

	public TagXML(String name) {
		super();
		this.name = name;
	}

	public TagXML(String name, String value) {
		super();
		this.name = name;
		this.value = value;
	}
	
	public void AddAttrib(Atribute a){
		
	}
	
	public void deleteAttrib(Atribute a){
		
	}
	
	public void addSonAttrib(Atribute a,TagXML t){
		
	}
	
	public void deleteSonAttrib(Atribute a,TagXML t){
		
	}
	
	public void addTag(TagXML t){
		
	}
	
	public void deleteTag(TagXML t){
		
	}
	
	
	

}
